/**
 * 通知模块状态常量配置
 */

// 通知阅读状态
export const NOTIFY_STATUS = {
  READ: 1, // 已读
  UNREAD: 2, // 未读
} as const;

// 通知推送状态
export const PUSH_STATUS = {
  FAILED: 0, // 推送失败
  PENDING: 1, // 队列中
  SUCCESS: 2, // 已推送
} as const;

// 队列处理配置
export const QUEUE_CONFIG = {
  RELIABLE_PUSH_CONCURRENT_LIMIT: 10, // 可靠推送并发限制
  INSTANT_PUSH_CONCURRENT_LIMIT: 15,  // 即时推送并发限制
} as const;

// 导出类型定义
export type NotifyStatus = (typeof NOTIFY_STATUS)[keyof typeof NOTIFY_STATUS];
export type PushStatus = (typeof PUSH_STATUS)[keyof typeof PUSH_STATUS];
